home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / mudlib / sys / time.h < prev    next >
C/C++ Source or Header  |  2001-07-14  |  634b  |  19 lines

  1. #ifndef LPC_TIME_H_
  2. #define LPC_TIME_H_ 1
  3.  
  4. /* Indices into the array returned from gmtime() and localtime(). */
  5.  
  6. #define TM_SEC    0  /* Seconds (0..59) */
  7. #define TM_MIN    1  /* Minutes (0..59) */
  8. #define TM_HOUR   2  /* Hours (0..23) */
  9. #define TM_MDAY   3  /* Day of the month (1..31) */
  10. #define TM_MON    4  /* Month of the year (0..11) */
  11. #define TM_YEAR   5  /* Year (e.g.  2001) */
  12. #define TM_WDAY   6  /* Day of the week (Sunday = 0) */
  13. #define TM_YDAY   7  /* Day of the year (0..365) */
  14. #define TM_ISDST  8  /* TRUE: Daylight saving time */
  15.  
  16. #define TM_MAX 9  /* Number of entries in the array */
  17.  
  18. #endif /* LPC_TIME_H_ */
  19.